<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
    
    <h:head>
        <title>Edição de Categoria</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    </h:head>

    <h:body>

        <ui:composition template="./templates/TemplatePagina.xhtml">

            <ui:define name="barraTitulo">
               
            </ui:define>
            
            <ui:define name="barraMenu">
                
            </ui:define>

            <ui:define name="conteudo">
                <h:panelGrid columns="2">
                    <h:outputLabel value="Nome da Categoria: "/>
                    <h:inputText value="#{categoriaController.selecionado.nome}"/>
                    <h:commandButton value="Alterar" action="#{categoriaController.atualizar}"/>
                </h:panelGrid>
            </ui:define>

            <ui:define name="rodape">
               
            </ui:define>

        </ui:composition>

    </h:body>
</html>
